package com.entity;

/**
 * @author Mathison
 * @Title: ShoppingCart
 * @Package: com.entity
 * @Description: 购物车实体类
 * @date 2021/11/16 9:18
 **/
public class ShoppingCart {
    private int good_id;
    private int user_id;
    private int good_amount;
    private boolean isChecked;

    //Get start

    public boolean isChecked() {
        return isChecked;
    }

    public int getGood_amount() {
        return good_amount;
    }

    public int getUser_id() {
        return user_id;
    }

    public int getGood_id() {
        return good_id;
    }


    //Get end

    //Set start

    public void setGood_amount(int good_amount) {
        this.good_amount = good_amount;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public void setGood_id(int good_id) {
        this.good_id = good_id;
    }

    public void setChecked(boolean isChecked){this.isChecked = isChecked;}
    //Set end
}
